package com.kyyc.luff.testb;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;

@MapperScan("com.kyyc.luff.test.mapper")
@SpringCloudApplication
@EnableFeignClients
@EnableCaching
@EnableHystrix
@Slf4j
public class TestbApplication {

    public static void main(String[] args) {
        SpringApplication.run(TestbApplication.class, args);
        log.info("luff-testb测试B服务启动成功。");
    }
}
